package com.hxzy.feign.fallback;

import com.hxzy.common.resp.R;
import com.hxzy.feign.OrderServiceFeign;
import com.hxzy.order.req.OrderReq;
import com.hxzy.order.req.OrderSearchReq;
import com.hxzy.order.resp.OrderResp;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/10/13 11:33
 * @Version 1.0
 */
@Component
@Log4j2
public class OrderServiceFeignFallback  implements OrderServiceFeign {
    @Override
    public R<OrderResp> orderFindById(Integer id) {
        log.error("xxx--xx");
        return null;
    }

    @Override
    public R<Map<String, Object>> orderData(OrderSearchReq req) {
        return null;
    }

    @Override
    public R<Map<String, Object>> orderDataParam(Integer page, Integer size, Integer userId, String name) {
        return null;
    }

    @Override
    public R<String> createOrder(OrderReq req) {
        return null;
    }
}
